package li;

public class demo5 {
	public static void main(String args[]){
		B b=new C();
		b.methodl();
		b.outB();
		
		
	}
	
}

abstract class B{
	void outB(){
		System.out.println("in B.");
		
	}
	abstract void methodl();
	
}

class C extends B{
	void methodl(){
		System.out.println("in C.");	
	}
	
}